import java.util.Scanner;

public class Test9_22 {
    public static void main(String[] args) {

        int x=3,y=5;
        System.out.println(x|y);
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入一个数");
        int pppp=sc.nextInt();
        System.out.println(pppp%2==0?"偶数":"奇数");

        System.out.println("请输入成绩");
        float score=sc.nextFloat();
        System.out.println(score>=60?"及格":"不及格");


        String name="hs_chan";
        Long id=1234567890L;
        byte age=22;
        float tall=183.4f;
        float weight=123f;
        System.out.println("姓名:"+name+"学号:"+id+"年龄:"+age+"身高:"+tall+"体重:"+weight);

        System.out.println("请输入一个三位数：");
        int a=sc.nextInt();
        int g=a%10;
        int s=a/10%10;
        int b=a/100;
        System.out.println("个位:"+g+"十位:"+s+"百位:"+b);

        System.out.println("请输入三个数：");

        double num1=sc.nextDouble();
        double num2=sc.nextDouble();
        double num3=sc.nextDouble();
        System.out.println("MAX为：");
        System.out.println((num1>num2?num1:num2)>num3?(num1>num2?num1:num2):num3);

    }
}
